﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Pharmacy_management_system
{
    public partial class Form5 : Form
    {
        public Form5(DataGridViewTextBoxColumn a)
        {
            InitializeComponent();
            textBox1.Text = a.Width.ToString();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form1.num = Convert.ToInt16(textBox1.Text);
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
